package com.jf.car.dao;


import com.jf.car.bean.Department;
import com.jf.car.util.PageInfo;

import java.util.List;

public interface DepartmentDao {
    List<Department> getAll();
    List<Department> getPage(PageInfo pageInfo, Department department);
    int getCount(Department department);
    int addSelect(Department department);
    int updateSelect(Department department);
    int batchDelete(int[] ids);
    Department getById(int id);
}
